* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  image-rendering: pixelated;
}
a{
  text-decoration: none;
}


body {
  // min-width: 1200px;
  color: #484848;
  line-height: 1;
  font-family: Microsoft YaHei;
  // font-family: Avenir, Helvetica, Arial, sans-serif;
}

.container {
  min-width: 900px;
  max-width: 1292px;
  margin: 0 auto;
}

/* flex样式 */
.flex {
  display: flex;
}

.flex_col {
  flex-direction: column;
}

.flex_wrap {
  flex-wrap: wrap;
}

.align_items_ctr {
  align-items: center;
}

.align_items_end {
  align-items: flex-end;
}

.align_items_start {
  align-items: flex-start;
}
.align_items_bl{
  align-items: baseline;
}

.jc_sb {
  justify-content: space-between;
}

.jc_se {
  justify-content: space-evenly;
}

.jc_sa {
  justify-content: space-around;
}

.jc_ctr {
  justify-content: center;
}

.jc_end {
  justify-content: flex-end;
}

.jc_start {
  justify-content: flex-start;
}

.flex_1 {
  flex: 1;
}

.flex_2 {
  flex: 2;
}

/* 宽高 */
.w_100 {
  width: 100%;
}

.h_100 {
  height: 100%;
}

/* color */
.color_fff {
  color: #fff
}

.color_000 {
  color: #000
}

.color_blue {
  color: #1E3C63
}

.bgc_blue {
  background-color: #1E3C63;
}

.bgc_000 {
  background-color: #000;
}

.bgc_fff {
  background-color: #fff;
}

/* hover */
.cur {
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}

.pointer_blue {
  cursor: pointer;

  &:hover {
    color: #1E3C63;
  }
}

.pointer_line {
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

.pointer_fw {
  cursor: pointer;

  &:hover {
    font-weight: bold;
  }
}

.position_relative {
  position: relative;
}

/* 文本样式 */
.text_ctr {
  text-align: center;
}

.text_right {
  text-align: right;
}

.text_line {
  text-decoration: underline;
}

.text_2em {
  text-indent: 2em;
}

.fw {
  font-weight: bold;
}

.word_break {
  word-break: break-all;
}

/* 溢出隐藏 */
.text_overflow1 {
  overflow: hidden;
  text-overflow: ellipsis;
  /* -webkit-box 实现多行文本 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*纵向对其*/
  -webkit-line-clamp: 1;
  /*设置行数*/
}

.text_overflow2 {
  overflow: hidden;
  text-overflow: ellipsis;
  /* -webkit-box 实现多行文本 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*纵向对其*/
  -webkit-line-clamp: 2;
  /*设置行数*/
}

.text_overflow3 {
  overflow: hidden;
  text-overflow: ellipsis;
  /* -webkit-box 实现多行文本 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*纵向对其*/
  -webkit-line-clamp: 3;
  /*设置行数*/
}

.text_overflow4 {
  overflow: hidden;
  text-overflow: ellipsis;
  /* -webkit-box 实现多行文本 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*纵向对其*/
  -webkit-line-clamp: 4;
  /*设置行数*/
}

/* 自定义样式 */
.my_icon {
  width: 8px;
  height: 8px;
}

.el-checkbox-group {
  font-size: inherit !important;
}

.el-checkbox {
  color: #333 !important;
  margin-bottom: 6px;
  display: flex !important;
  align-items: center;
}

.el-checkbox__label {
  font-size: 16px;
  color: #7C8191;
  line-height: 20px !important;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  /* -webkit-box 实现多行文本 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*纵向对其*/
  -webkit-line-clamp: 1;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #1E3C63 !important;
  border-color: #1E3C63 !important;
}

.el-checkbox__inner {
  border-radius: 6px !important;
  width: 20px !important;
  height: 20px !important;
  border-color: #7C8191 !important;

  &:hover {
    border-color: #1E3C63 !important;
  }

  &::after {
    left: 50% !important;
    top: 50% !important;
    transform: rotate(45deg) scaleY(1) translate(-50%, -50%) !important;
    transform-origin: top left !important;
  }
}

/* 下拉箭头颜色 */
.el-select .el-input .el-select__caret {
  color: #4c4c4c !important;
}

/* 复选框选中样式 */
.el-checkbox__input.is-checked+.el-checkbox__label {
  color: #1E3C63 !important;
  font-weight: bold;
}


/* 滚动条样式 */
.my_scroll {
  scrollbar-gutter: stable;
  overflow: auto;
  /* 整个滚动条 */
  &::-webkit-scrollbar {
    /* 对应纵向滚动条的宽度 */
    width: 8px;
    /* 对应横向滚动条的宽度 */
    height: 10px;
    // display: none;
  }

  &:hover {

    /* 整个滚动条 */
    &::-webkit-scrollbar {
      display: block;
    }
  }

  /* 滚动条上的滚动滑块 */
  &::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 32px;
  }

  /* 滚动条轨道 */
  &::-webkit-scrollbar-track {
    background-color: #dbeffd;
    border-radius: 32px;
  }
}

.my_card {
  background: #FFFFFF;
  // box-shadow: 8px 4px 20px 0px rgba(10, 24, 51, 0.05);
  box-shadow: 0px 6px 58px 0px rgba(196, 203, 214, 0.2);
  border-radius: 10px;
}

/* 设置浏览器滚动条-解决滚动条出现页面抖动 */
::-webkit-scrollbar {
  background: transparent;
  width: 0px;
  height: 10px
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #e1e1e1;
  width: 0px;
  height: 6px;
  border: 2px solid transparent;
  background-clip: content-box
}

.messageIndex {
  z-index: 300000 !important;
}




/* 文本不被选中 */
.no-select {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Opera and Safari */
}

/* ---------------表格------------------ */
/* 自定义表头背景颜色 */
.el-table th {
  // background-color: var(--bgcThemeColor) !important; /* 使用 !important 确保覆盖默认样式 */
  background-color: #fafafa !important;
  color: #000; /* 可选：设置文字颜色 */
}
/* 设置表格边框颜色为红色 */
.el-table {
  // border: 1px solid #afafaf !important;
}
.el-table th,
.el-table td {
  // border-color: #afafaf !important; /* 设置表头和单元格的边框颜色 */
  background-color: #fafafa;
}
// 文字颜色
.el-table td .cell {
  color: #000;
}